On 25 November 2021, almost exactly one year after the major release of PHP 8.0, the latest version of the scripting language, PHP 8.1, was released. This release also brings with it a whole host of new features and improvements. But when and under what conditions does it make sense to switch to PHP 8.1?